#!/bin/sh

# 复制项目的文件到对应docker路径，便于一键生成镜像。
usage() {
	echo "Usage: sh copy.sh"
	exit 1
}

# copy jar
echo "begin copy shop-gateway "
cp ../platform/shop-gateway/target/shop-gateway.jar ./shop/gateway/jar

echo "begin copy shop-user "
cp ../domain/shop-user/target/shop-user.jar ./shop/user/jar

echo "begin copy shop-items "
cp ../domain/shop-items/target/shop-items.jar  ./shop/items/jar

echo "begin copy shop-order "
cp ../domain/shop-order/target/shop-order.jar ./shop/order/jar

echo "begin copy shop-payment "
cp ../domain/shop-payment/target/shop-payment.jar ./shop/payment/jar


